using System.ComponentModel.DataAnnotations;

namespace BW.Demo.Domain.Entities
{
    /// <summary>
    /// 产品名称信息
    /// </summary>
    public class ProductName
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int Gid { get; set; }

        /// <summary>
        /// 商品名称
        /// </summary>
        [MaxLength(50)]
        public string GoodsName { get; set; } = string.Empty;
    }
}
